package impl

import "shopstar/models/member"

type MemberServerImpl interface {
	// FindMemberUsername 根据用户名查找
	FindMemberUsername(username string) (*member.Member, error)
	// Register 注册
	Register(username, password, phone string) (*member.Member, error)

	// Login 登录
	Login(username, password string) (*member.Member, error)

	AddMemberAddress(userid, consigner, phone string, provinceId, cityId, districtId int, address string) error

	DefaultMemberAddress(userId string) (address member.MemberAddress, err error)
}
